package yzy.ecps.model;

import java.math.BigDecimal;
import java.util.Date;
import java.util.List;

import javax.xml.bind.annotation.XmlRootElement;

@XmlRootElement(name="sku")
public class BtcSku {
    private Long skuId;

    private Long goodsId;

    private BigDecimal skuPrice;

    private BigDecimal marketPrice;

    private Integer skuInventory;

    private Integer upperLimit;

    private String skuNum;

    private Integer lication;

    private Integer showStatus;

    private String skuImgs;

    private String skuName;

    private Date createTime;

    private Long createUserid;

    private Date updateTime;

    private Long updateUserid;

    private Integer sales;

    private Integer lastStatus;

    private Integer sort;

    private String packUser;

    private Integer skuType;
    
    //-------导航属性
    
    private List<BtcSpecValue> specValues;
    private BtcGoods goods;

    public BtcGoods getGoods() {
		return goods;
	}

	public void setGoods(BtcGoods goods) {
		this.goods = goods;
	}

	public Long getSkuId() {
        return skuId;
    }

    public void setSkuId(Long skuId) {
        this.skuId = skuId;
    }

    public Long getGoodsId() {
        return goodsId;
    }

    public void setGoodsId(Long goodsId) {
        this.goodsId = goodsId;
    }

    public BigDecimal getSkuPrice() {
        return skuPrice;
    }

    public void setSkuPrice(BigDecimal skuPrice) {
        this.skuPrice = skuPrice;
    }

    public BigDecimal getMarketPrice() {
        return marketPrice;
    }

    public void setMarketPrice(BigDecimal marketPrice) {
        this.marketPrice = marketPrice;
    }

    public Integer getSkuInventory() {
        return skuInventory;
    }

    public void setSkuInventory(Integer skuInventory) {
        this.skuInventory = skuInventory;
    }

    public Integer getUpperLimit() {
        return upperLimit;
    }

    public void setUpperLimit(Integer upperLimit) {
        this.upperLimit = upperLimit;
    }

    public String getSkuNum() {
        return skuNum;
    }

    public void setSkuNum(String skuNum) {
        this.skuNum = skuNum;
    }

    public Integer getLication() {
        return lication;
    }

    public void setLication(Integer lication) {
        this.lication = lication;
    }

    public Integer getShowStatus() {
        return showStatus;
    }

    public void setShowStatus(Integer showStatus) {
        this.showStatus = showStatus;
    }

    public String getSkuImgs() {
        return skuImgs;
    }

    public void setSkuImgs(String skuImgs) {
        this.skuImgs = skuImgs;
    }

    public String getSkuName() {
        return skuName;
    }

    public void setSkuName(String skuName) {
        this.skuName = skuName;
    }

    public Date getCreateTime() {
        return createTime;
    }

    public void setCreateTime(Date createTime) {
        this.createTime = createTime;
    }

    public Long getCreateUserid() {
        return createUserid;
    }

    public void setCreateUserid(Long createUserid) {
        this.createUserid = createUserid;
    }

    public Date getUpdateTime() {
        return updateTime;
    }

    public void setUpdateTime(Date updateTime) {
        this.updateTime = updateTime;
    }

    public Long getUpdateUserid() {
        return updateUserid;
    }

    public void setUpdateUserid(Long updateUserid) {
        this.updateUserid = updateUserid;
    }

    public Integer getSales() {
        return sales;
    }

    public void setSales(Integer sales) {
        this.sales = sales;
    }

    public Integer getLastStatus() {
        return lastStatus;
    }

    public void setLastStatus(Integer lastStatus) {
        this.lastStatus = lastStatus;
    }

    public Integer getSort() {
        return sort;
    }

    public void setSort(Integer sort) {
        this.sort = sort;
    }

    public String getPackUser() {
        return packUser;
    }

    public void setPackUser(String packUser) {
        this.packUser = packUser;
    }

    public Integer getSkuType() {
        return skuType;
    }

    public void setSkuType(Integer skuType) {
        this.skuType = skuType;
    }

	public List<BtcSpecValue> getSpecValues() {
		return specValues;
	}

	public void setSpecValues(List<BtcSpecValue> specValues) {
		this.specValues = specValues;
	}
}